package org.jeecg.modules.xl.wdt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wdt_goods_list")
public class WdtGoodsList {
    /**
     * 货品ID
     */
    @TableId(value = "goods_id", type = IdType.ASSIGN_ID)
    private Long goodsId;

    /**
     * 货品编号
     */
    @TableField(value = "goods_no")
    private String goodsNo;

    /**
     * 货品名称
     */
    @TableField(value = "goods_name")
    private String goodsName;

    /**
     * 简称
     */
    @TableField(value = "short_name")
    private String shortName;

    /**
     * 货品类别
     */
    @TableField(value = "goods_type")
    private Boolean goodsType;

    /**
     * 品牌名称
     */
    @TableField(value = "brand_name")
    private String brandName;

    /**
     * 品牌id
     */
    @TableField(value = "brand_id")
    private String brandId;

    /**
     * 品牌编号
     */
    @TableField(value = "brand_no")
    private String brandNo;

    /**
     * 规格数
     */
    @TableField(value = "spec_count")
    private Integer specCount;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 分类 id
     */
    @TableField(value = "goods_category_id")
    private String goodsCategoryId;

    /**
     * 分类
     */
    @TableField(value = "category_name")
    private String categoryName;

    /**
     * 版本号，用来检查同时修改的
     */
    @TableField(value = "version_id")
    private Integer versionId;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 最后修改时间
     */
    @TableField(value = "modified")
    private Date modified;

    /**
     * 是否已删除： 0：未删除  >0代表已删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    private  List<WdtGoodsSpecList> specList;
}